class NavItem {
  var name;
  var num;
  var rate;
  var attr;

  NavItem({this.name, this.num, this.rate, this.attr});
}

class LevalItem {
  var name;
  var num;
  var rate;

  LevalItem({this.name, this.num, this.rate = '0'});
}

class StatisticConfig {
  static List<NavItem> navList = [
    NavItem(name: '日程总数', num: 0, rate: "0", attr: 'dateTotal'),
    NavItem(name: '完成数量', num: 0, rate: "0", attr: 'comNum'),
    NavItem(name: '未完成数量', num: 0, rate: "0", attr: 'unComNum'),
    NavItem(name: '日程总时长', num: 0, rate: "0", attr: 'dataDuration'),
    NavItem(name: '完成时长', num: 0, rate: "0", attr: 'comDuration'),
    NavItem(name: '未完成时长', num: 0, rate: "0", attr: 'unComDUration'),
  ];

  static List<LevalItem> level = [
    LevalItem(name: '倔强青铜', num: 50),
    LevalItem(name: '秩序白银', num: 100),
    LevalItem(name: '铂金', num: 20),
    LevalItem(name: '钻石', num: 310),
    LevalItem(name: '星耀', num: 450),
    LevalItem(name: '王者', num: 600),
  ];
}
